//
//  ShoppingCar.m
//  EJLX
//
//  Created by adc on 15/11/24.
//  Copyright © 2015年 江苏一键联信息科技有限公司. All rights reserved.
//

#import "ShoppingCar.h"

@implementation ShoppingCar




+(ShoppingCar *)praseWithDictionary:(NSDictionary *)dict{
    
    ShoppingCar *car = [[ShoppingCar alloc] init];
    NSDictionary *data = [dict objectForKey:@"data"];
    
    car.sectionArr = [NSMutableArray array];
    for (NSDictionary *section in data) {
        CarSection *sec = [CarSection praseWithDictionary:section];
        [car.sectionArr addObject:sec];
        
    }
    

    return car;
}













@end
